package com.allenkerr.service;

import com.allenkerr.model.Person;
import com.allenkerr.vo.Result;

import java.util.List;

/**
 * Created by 小柯(Allen Kerr) on 17.6.18 23:53.
 */
public interface PersonService {

    public List<Person> findAll(Person person);

    public Person findById(Integer id);

    public List<Person> findByName(String name);

    public void saveOne(Person person);

    public List<Person> findAgeGreaterThan(Integer age);

    public Result deleteById(Integer id);

    public List<Person> selectByNameLike(String name);
}
